SUPPORT / SAMPLES & SAS NOTES
 

Support

Installation Note 46197: An "Invalid third argument to function SUBSTR.." error appears when running load_named_lists.sas on UNIX

DetailsAboutRate It

In SAS® Enterprise GRC, errors might occur during development when executing load_named_lists.sas on UNIX. The error text is similar to the following:

NOTE: Invalid third argument to function SUBSTR at line 4004 column 238.
 125 CHAR  . 1
    ZONE  0
    NUMR  D
properties_file=/install/dxd_grc/config/Lev1/Applications/
   SASEnterpriseGRCServerCfg/4.3/Source/misc/sample/config/
   named_list_options_de.properties 
file_name=named_list_options_de.properties locale=de key=
value=
line=
pos=0 _ERROR_=1 _INFILE_=
_N_=125
line=x_risk_type.thr.txt = Gef\u00e4hrdung
pos=403
line=x_risk_type.opp.txt = Opportunit\u00e4t
pos=403
line=
pos=403
NOTE: Invalid third argument to function SUBSTR at line 4004 column 238.

The error is caused by properties files that have "control-M" (^M) characters at the end of each line. To work around the problem, remove the "control-M" characters and try again.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise GRCMicrosoft® Windows® for x645.15.19.3 TS1M0
Microsoft Windows 95/985.1
Microsoft Windows 2000 Advanced Server5.1
Microsoft Windows 2000 Datacenter Server5.1
Microsoft Windows 2000 Server5.1
Microsoft Windows 2000 Professional5.1
Microsoft Windows NT Workstation5.1
Microsoft Windows Server 2003 Datacenter Edition5.15.19.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition5.15.19.3 TS1M0
Microsoft Windows Server 2003 Standard Edition5.15.19.3 TS1M0
Microsoft Windows Server 2003 for x645.15.19.3 TS1M0
Microsoft Windows Server 20085.15.19.3 TS1M0
Microsoft Windows Server 2008 for x645.15.19.3 TS1M0
Microsoft Windows XP Professional5.15.19.3 TS1M0
Windows 7 Enterprise 32 bit5.15.19.3 TS1M0
Windows 7 Enterprise x645.15.19.3 TS1M0
Windows 7 Home Premium 32 bit5.15.19.3 TS1M0
Windows 7 Home Premium x645.15.19.3 TS1M0
Windows 7 Professional 32 bit5.15.19.3 TS1M0
Windows 7 Professional x645.15.19.3 TS1M0
Windows 7 Ultimate 32 bit5.15.19.3 TS1M0
Windows 7 Ultimate x645.15.19.3 TS1M0
Windows Millennium Edition (Me)5.1
Windows Vista5.15.19.3 TS1M0
Windows Vista for x645.15.19.3 TS1M0
64-bit Enabled AIX5.15.19.3 TS1M0
64-bit Enabled Solaris5.15.19.3 TS1M0
HP-UX IPF5.15.19.3 TS1M0
Linux for x645.15.19.3 TS1M0
Solaris for x645.15.19.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.